# jinjia2模板数据
from datetime import date

from flask import Flask,render_template


app = Flask(__name__)

@app.route("/user")
def user():
    book = "《西游记》" # 字符串
    time = date.today() # 时间
    authors = ["聂茹凤","谭鑫宇","李兆康","王银庆"]
    other = {
        "出版社":"中信出版集团",
        "价格":32.5,
        "出品人":"宋红桥"
    }
    return render_template("book.html",b = book,t=time,list=authors,other=other)



if __name__ == '__main__':
    app.run()